]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Add screenshield and unlock dialog to ctrl-alt-tab
authorFlorian Müllner <fmuellner@gnome.org>
Sat, 11 Aug 2012 03:53:59 +0000 (05:53 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Sat, 17 Nov 2012 00:52:51 +0000 (01:52 +0100)
As we now allow the ctrl-alt-tab popup on the lock screen, it should
be possible to navigate back from the top bar, so add the corresponding
elements to the switcher.

https://bugzilla.gnome.org/show_bug.cgi?id=688202

js/ui/screenShield.js
js/ui/unlockDialog.js

index 3338dcc0d8fbc6ae8fbfca0b11f1b5a228a8ed8d..881d66706febc6a423a2b7c471dd99808fad34ae 100644 (file)
@@ -398,6 +398,7 @@ const ScreenShield = new Lang.Class({
                                       Lang.bind(this, this._onLockScreenKeyRelease));
         this._lockScreenGroup.connect('scroll-event',
                                       Lang.bind(this, this._onLockScreenScroll));
+        Main.ctrlAltTabManager.addGroup(this._lockScreenGroup, _("Lock"), 'changes-prevent-symbolic');
 
         this._lockScreenContents = new St.Widget({ layout_manager: new Clutter.BinLayout(),
                                                    name: 'lockScreenContents' });
index 2f46d648e2b50579bd122996859423744aa472d4..9996385a30422e4b37dafe82dd12d96af0dc0ab8 100644 (file)
@@ -200,6 +200,8 @@ const UnlockDialog = new Lang.Class({
             return false;
         }));
 
+        Main.ctrlAltTabManager.addGroup(this.dialogLayout, _("Unlock Window"), 'dialog-password-symbolic');
+
         this._idleMonitor = new GnomeDesktop.IdleMonitor();
         this._idleWatchId = this._idleMonitor.add_watch(IDLE_TIMEOUT * 1000, Lang.bind(this, this._escape));
     },